package zjh_20230308;

import org.w3c.dom.Node;

public class MyLinkedListTest {
    public static void main(String[] args) {
        MyLinkedList myLinkedList = new MyLinkedList();
        System.out.println(myLinkedList.add("a"));
        System.out.println(myLinkedList.add("as"));
        System.out.println(myLinkedList.add("asa"));
        System.out.println(myLinkedList.add("bbb"));
        System.out.println(myLinkedList.toString());
        myLinkedList.add(1,"sb");
        System.out.println(myLinkedList.toString());
//        myLinkedList.add(1,"first");
//        System.out.println(myLinkedList.toString());
    }
}
